package com.ttj.domain.oracle.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperWebUser implements Serializable {
    /**
     * 手机号
     */
    private String phonenum;

    /**
     * 密码
     */
    private String pwd;

    /**
     * 注册类型（1，一卡通注册；2，条形码注册；3，匿名注册；4-app注册）
     */
    private Integer regtype;

    /**
     * 客户类型(1:机关;2:企业;3:事业;4:合作伙伴;5:NGO;6:淘宝;7:居民;8:商户;9:居委会;10:物业;11:学校;12:学生;13:大宗客户;14:其他)
     */
    private Integer usertype;

    /**
     * 用户地址
     */
    private String useraddr;

    /**
     * 用户名
     */
    private String username;

    /**
     * 用户昵称
     */
    private String name;

    /**
     * 初始注册时间
     */
    private Date regTime;

    /**
     * 最后修改时间
     */
    private Date lastModifyTime;

    /**
     * 条形码
     */
    private String barcode;

    /**
     * 楼号
     */
    private String addrBuilding;

    /**
     * 单元号
     */
    private String addrUnit;

    /**
     * 楼层
     */
    private String addrFloor;

    /**
     * 门牌号
     */
    private String addrDoor;

    /**
     * 自定义地址
     */
    private String addrOther;

    /**
     * 绿色账户(现金)
     */
    private Double visualCoin;

    /**
     * 绿猫币
     */
    private Double credit;

    /**
     * tm管理端用户
     */
    private String tmcreateUser;

    /**
     * 1-启用 2-冻结 3-删除
     */
    private Integer userStatus;

    /**
     * 身份证号
     */
    private String idnum;

    /**
     * 一卡通号
     */
    private String yikatong;

    /**
     * 银行卡号
     */
    private String bankcard;

    /**
     * 累计卖掉废品量  单位公斤
     */
    private Double sellnum;

    /**
     * 客户id（关联客户信息表）--扩展信息
     */
    private Integer customerId;

    /**
     * 地区编码
     */
    private Integer addrId;

    /**
     * 网点id
     */
    private Integer branchId;

    /**
     * 0-个人用户；1-企业用户
     */
    private Integer type;

    /**
     * 累计虚拟币
     */
    private Double ttVisualCoin;

    private Double age;

    private Double job;

    /**
     * 1-男；2-女
     */
    private Integer sex;

    /**
     * 职业
     */
    private String jobText;

    /**
     * 客户地址id（多个）,以"|"分割
     */
    private String addrIdStr;

    /**
     * 头像地址
     */
    private String imgPath;

    /**
     * APP注册地址
     */
    private String appUseraddr;

    /**
     * 企业名称
     */
    private String customerName;

    /**
     * 企业部门名
     */
    private String department;

    private static final long serialVersionUID = 1L;

    /**
     * 手机号
     */
    public String getPhonenum() {
        return phonenum;
    }

    /**
     * 手机号
     */
    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    /**
     * 密码
     */
    public String getPwd() {
        return pwd;
    }

    /**
     * 密码
     */
    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    /**
     * 注册类型（1，一卡通注册；2，条形码注册；3，匿名注册；4-app注册）
     */
    public Integer getRegtype() {
        return regtype;
    }

    /**
     * 注册类型（1，一卡通注册；2，条形码注册；3，匿名注册；4-app注册）
     */
    public void setRegtype(Integer regtype) {
        this.regtype = regtype;
    }

    /**
     * 客户类型(1:机关;2:企业;3:事业;4:合作伙伴;5:NGO;6:淘宝;7:居民;8:商户;9:居委会;10:物业;11:学校;12:学生;13:大宗客户;14:其他)
     */
    public Integer getUsertype() {
        return usertype;
    }

    /**
     * 客户类型(1:机关;2:企业;3:事业;4:合作伙伴;5:NGO;6:淘宝;7:居民;8:商户;9:居委会;10:物业;11:学校;12:学生;13:大宗客户;14:其他)
     */
    public void setUsertype(Integer usertype) {
        this.usertype = usertype;
    }

    /**
     * 用户地址
     */
    public String getUseraddr() {
        return useraddr;
    }

    /**
     * 用户地址
     */
    public void setUseraddr(String useraddr) {
        this.useraddr = useraddr;
    }

    /**
     * 用户名
     */
    public String getUsername() {
        return username;
    }

    /**
     * 用户名
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 用户昵称
     */
    public String getName() {
        return name;
    }

    /**
     * 用户昵称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 初始注册时间
     */
    public Date getRegTime() {
        return regTime;
    }

    /**
     * 初始注册时间
     */
    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    /**
     * 最后修改时间
     */
    public Date getLastModifyTime() {
        return lastModifyTime;
    }

    /**
     * 最后修改时间
     */
    public void setLastModifyTime(Date lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }

    /**
     * 条形码
     */
    public String getBarcode() {
        return barcode;
    }

    /**
     * 条形码
     */
    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    /**
     * 楼号
     */
    public String getAddrBuilding() {
        return addrBuilding;
    }

    /**
     * 楼号
     */
    public void setAddrBuilding(String addrBuilding) {
        this.addrBuilding = addrBuilding;
    }

    /**
     * 单元号
     */
    public String getAddrUnit() {
        return addrUnit;
    }

    /**
     * 单元号
     */
    public void setAddrUnit(String addrUnit) {
        this.addrUnit = addrUnit;
    }

    /**
     * 楼层
     */
    public String getAddrFloor() {
        return addrFloor;
    }

    /**
     * 楼层
     */
    public void setAddrFloor(String addrFloor) {
        this.addrFloor = addrFloor;
    }

    /**
     * 门牌号
     */
    public String getAddrDoor() {
        return addrDoor;
    }

    /**
     * 门牌号
     */
    public void setAddrDoor(String addrDoor) {
        this.addrDoor = addrDoor;
    }

    /**
     * 自定义地址
     */
    public String getAddrOther() {
        return addrOther;
    }

    /**
     * 自定义地址
     */
    public void setAddrOther(String addrOther) {
        this.addrOther = addrOther;
    }

    /**
     * 绿色账户(现金)
     */
    public Double getVisualCoin() {
        return visualCoin;
    }

    /**
     * 绿色账户(现金)
     */
    public void setVisualCoin(Double visualCoin) {
        this.visualCoin = visualCoin;
    }

    /**
     * 绿猫币
     */
    public Double getCredit() {
        return credit;
    }

    /**
     * 绿猫币
     */
    public void setCredit(Double credit) {
        this.credit = credit;
    }

    /**
     * tm管理端用户
     */
    public String getTmcreateUser() {
        return tmcreateUser;
    }

    /**
     * tm管理端用户
     */
    public void setTmcreateUser(String tmcreateUser) {
        this.tmcreateUser = tmcreateUser;
    }

    /**
     * 1-启用 2-冻结 3-删除
     */
    public Integer getUserStatus() {
        return userStatus;
    }

    /**
     * 1-启用 2-冻结 3-删除
     */
    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    /**
     * 身份证号
     */
    public String getIdnum() {
        return idnum;
    }

    /**
     * 身份证号
     */
    public void setIdnum(String idnum) {
        this.idnum = idnum;
    }

    /**
     * 一卡通号
     */
    public String getYikatong() {
        return yikatong;
    }

    /**
     * 一卡通号
     */
    public void setYikatong(String yikatong) {
        this.yikatong = yikatong;
    }

    /**
     * 银行卡号
     */
    public String getBankcard() {
        return bankcard;
    }

    /**
     * 银行卡号
     */
    public void setBankcard(String bankcard) {
        this.bankcard = bankcard;
    }

    /**
     * 累计卖掉废品量  单位公斤
     */
    public Double getSellnum() {
        return sellnum;
    }

    /**
     * 累计卖掉废品量  单位公斤
     */
    public void setSellnum(Double sellnum) {
        this.sellnum = sellnum;
    }

    /**
     * 客户id（关联客户信息表）--扩展信息
     */
    public Integer getCustomerId() {
        return customerId;
    }

    /**
     * 客户id（关联客户信息表）--扩展信息
     */
    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    /**
     * 地区编码
     */
    public Integer getAddrId() {
        return addrId;
    }

    /**
     * 地区编码
     */
    public void setAddrId(Integer addrId) {
        this.addrId = addrId;
    }

    /**
     * 网点id
     */
    public Integer getBranchId() {
        return branchId;
    }

    /**
     * 网点id
     */
    public void setBranchId(Integer branchId) {
        this.branchId = branchId;
    }

    /**
     * 0-个人用户；1-企业用户
     */
    public Integer getType() {
        return type;
    }

    /**
     * 0-个人用户；1-企业用户
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 累计虚拟币
     */
    public Double getTtVisualCoin() {
        return ttVisualCoin;
    }

    /**
     * 累计虚拟币
     */
    public void setTtVisualCoin(Double ttVisualCoin) {
        this.ttVisualCoin = ttVisualCoin;
    }

    public Double getAge() {
        return age;
    }

    public void setAge(Double age) {
        this.age = age;
    }

    public Double getJob() {
        return job;
    }

    public void setJob(Double job) {
        this.job = job;
    }

    /**
     * 1-男；2-女
     */
    public Integer getSex() {
        return sex;
    }

    /**
     * 1-男；2-女
     */
    public void setSex(Integer sex) {
        this.sex = sex;
    }

    /**
     * 职业
     */
    public String getJobText() {
        return jobText;
    }

    /**
     * 职业
     */
    public void setJobText(String jobText) {
        this.jobText = jobText;
    }

    /**
     * 客户地址id（多个）,以"|"分割
     */
    public String getAddrIdStr() {
        return addrIdStr;
    }

    /**
     * 客户地址id（多个）,以"|"分割
     */
    public void setAddrIdStr(String addrIdStr) {
        this.addrIdStr = addrIdStr;
    }

    /**
     * 头像地址
     */
    public String getImgPath() {
        return imgPath;
    }

    /**
     * 头像地址
     */
    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    /**
     * APP注册地址
     */
    public String getAppUseraddr() {
        return appUseraddr;
    }

    /**
     * APP注册地址
     */
    public void setAppUseraddr(String appUseraddr) {
        this.appUseraddr = appUseraddr;
    }

    /**
     * 企业名称
     */
    public String getCustomerName() {
        return customerName;
    }

    /**
     * 企业名称
     */
    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    /**
     * 企业部门名
     */
    public String getDepartment() {
        return department;
    }

    /**
     * 企业部门名
     */
    public void setDepartment(String department) {
        this.department = department;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", phonenum=").append(phonenum);
        sb.append(", pwd=").append(pwd);
        sb.append(", regtype=").append(regtype);
        sb.append(", usertype=").append(usertype);
        sb.append(", useraddr=").append(useraddr);
        sb.append(", username=").append(username);
        sb.append(", name=").append(name);
        sb.append(", regTime=").append(regTime);
        sb.append(", lastModifyTime=").append(lastModifyTime);
        sb.append(", barcode=").append(barcode);
        sb.append(", addrBuilding=").append(addrBuilding);
        sb.append(", addrUnit=").append(addrUnit);
        sb.append(", addrFloor=").append(addrFloor);
        sb.append(", addrDoor=").append(addrDoor);
        sb.append(", addrOther=").append(addrOther);
        sb.append(", visualCoin=").append(visualCoin);
        sb.append(", credit=").append(credit);
        sb.append(", tmcreateUser=").append(tmcreateUser);
        sb.append(", userStatus=").append(userStatus);
        sb.append(", idnum=").append(idnum);
        sb.append(", yikatong=").append(yikatong);
        sb.append(", bankcard=").append(bankcard);
        sb.append(", sellnum=").append(sellnum);
        sb.append(", customerId=").append(customerId);
        sb.append(", addrId=").append(addrId);
        sb.append(", branchId=").append(branchId);
        sb.append(", type=").append(type);
        sb.append(", ttVisualCoin=").append(ttVisualCoin);
        sb.append(", age=").append(age);
        sb.append(", job=").append(job);
        sb.append(", sex=").append(sex);
        sb.append(", jobText=").append(jobText);
        sb.append(", addrIdStr=").append(addrIdStr);
        sb.append(", imgPath=").append(imgPath);
        sb.append(", appUseraddr=").append(appUseraddr);
        sb.append(", customerName=").append(customerName);
        sb.append(", department=").append(department);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperWebUser other = (SuperWebUser) that;
        return (this.getPhonenum() == null ? other.getPhonenum() == null : this.getPhonenum().equals(other.getPhonenum()))
            && (this.getPwd() == null ? other.getPwd() == null : this.getPwd().equals(other.getPwd()))
            && (this.getRegtype() == null ? other.getRegtype() == null : this.getRegtype().equals(other.getRegtype()))
            && (this.getUsertype() == null ? other.getUsertype() == null : this.getUsertype().equals(other.getUsertype()))
            && (this.getUseraddr() == null ? other.getUseraddr() == null : this.getUseraddr().equals(other.getUseraddr()))
            && (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getRegTime() == null ? other.getRegTime() == null : this.getRegTime().equals(other.getRegTime()))
            && (this.getLastModifyTime() == null ? other.getLastModifyTime() == null : this.getLastModifyTime().equals(other.getLastModifyTime()))
            && (this.getBarcode() == null ? other.getBarcode() == null : this.getBarcode().equals(other.getBarcode()))
            && (this.getAddrBuilding() == null ? other.getAddrBuilding() == null : this.getAddrBuilding().equals(other.getAddrBuilding()))
            && (this.getAddrUnit() == null ? other.getAddrUnit() == null : this.getAddrUnit().equals(other.getAddrUnit()))
            && (this.getAddrFloor() == null ? other.getAddrFloor() == null : this.getAddrFloor().equals(other.getAddrFloor()))
            && (this.getAddrDoor() == null ? other.getAddrDoor() == null : this.getAddrDoor().equals(other.getAddrDoor()))
            && (this.getAddrOther() == null ? other.getAddrOther() == null : this.getAddrOther().equals(other.getAddrOther()))
            && (this.getVisualCoin() == null ? other.getVisualCoin() == null : this.getVisualCoin().equals(other.getVisualCoin()))
            && (this.getCredit() == null ? other.getCredit() == null : this.getCredit().equals(other.getCredit()))
            && (this.getTmcreateUser() == null ? other.getTmcreateUser() == null : this.getTmcreateUser().equals(other.getTmcreateUser()))
            && (this.getUserStatus() == null ? other.getUserStatus() == null : this.getUserStatus().equals(other.getUserStatus()))
            && (this.getIdnum() == null ? other.getIdnum() == null : this.getIdnum().equals(other.getIdnum()))
            && (this.getYikatong() == null ? other.getYikatong() == null : this.getYikatong().equals(other.getYikatong()))
            && (this.getBankcard() == null ? other.getBankcard() == null : this.getBankcard().equals(other.getBankcard()))
            && (this.getSellnum() == null ? other.getSellnum() == null : this.getSellnum().equals(other.getSellnum()))
            && (this.getCustomerId() == null ? other.getCustomerId() == null : this.getCustomerId().equals(other.getCustomerId()))
            && (this.getAddrId() == null ? other.getAddrId() == null : this.getAddrId().equals(other.getAddrId()))
            && (this.getBranchId() == null ? other.getBranchId() == null : this.getBranchId().equals(other.getBranchId()))
            && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
            && (this.getTtVisualCoin() == null ? other.getTtVisualCoin() == null : this.getTtVisualCoin().equals(other.getTtVisualCoin()))
            && (this.getAge() == null ? other.getAge() == null : this.getAge().equals(other.getAge()))
            && (this.getJob() == null ? other.getJob() == null : this.getJob().equals(other.getJob()))
            && (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
            && (this.getJobText() == null ? other.getJobText() == null : this.getJobText().equals(other.getJobText()))
            && (this.getAddrIdStr() == null ? other.getAddrIdStr() == null : this.getAddrIdStr().equals(other.getAddrIdStr()))
            && (this.getImgPath() == null ? other.getImgPath() == null : this.getImgPath().equals(other.getImgPath()))
            && (this.getAppUseraddr() == null ? other.getAppUseraddr() == null : this.getAppUseraddr().equals(other.getAppUseraddr()))
            && (this.getCustomerName() == null ? other.getCustomerName() == null : this.getCustomerName().equals(other.getCustomerName()))
            && (this.getDepartment() == null ? other.getDepartment() == null : this.getDepartment().equals(other.getDepartment()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getPhonenum() == null) ? 0 : getPhonenum().hashCode());
        result = prime * result + ((getPwd() == null) ? 0 : getPwd().hashCode());
        result = prime * result + ((getRegtype() == null) ? 0 : getRegtype().hashCode());
        result = prime * result + ((getUsertype() == null) ? 0 : getUsertype().hashCode());
        result = prime * result + ((getUseraddr() == null) ? 0 : getUseraddr().hashCode());
        result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getRegTime() == null) ? 0 : getRegTime().hashCode());
        result = prime * result + ((getLastModifyTime() == null) ? 0 : getLastModifyTime().hashCode());
        result = prime * result + ((getBarcode() == null) ? 0 : getBarcode().hashCode());
        result = prime * result + ((getAddrBuilding() == null) ? 0 : getAddrBuilding().hashCode());
        result = prime * result + ((getAddrUnit() == null) ? 0 : getAddrUnit().hashCode());
        result = prime * result + ((getAddrFloor() == null) ? 0 : getAddrFloor().hashCode());
        result = prime * result + ((getAddrDoor() == null) ? 0 : getAddrDoor().hashCode());
        result = prime * result + ((getAddrOther() == null) ? 0 : getAddrOther().hashCode());
        result = prime * result + ((getVisualCoin() == null) ? 0 : getVisualCoin().hashCode());
        result = prime * result + ((getCredit() == null) ? 0 : getCredit().hashCode());
        result = prime * result + ((getTmcreateUser() == null) ? 0 : getTmcreateUser().hashCode());
        result = prime * result + ((getUserStatus() == null) ? 0 : getUserStatus().hashCode());
        result = prime * result + ((getIdnum() == null) ? 0 : getIdnum().hashCode());
        result = prime * result + ((getYikatong() == null) ? 0 : getYikatong().hashCode());
        result = prime * result + ((getBankcard() == null) ? 0 : getBankcard().hashCode());
        result = prime * result + ((getSellnum() == null) ? 0 : getSellnum().hashCode());
        result = prime * result + ((getCustomerId() == null) ? 0 : getCustomerId().hashCode());
        result = prime * result + ((getAddrId() == null) ? 0 : getAddrId().hashCode());
        result = prime * result + ((getBranchId() == null) ? 0 : getBranchId().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getTtVisualCoin() == null) ? 0 : getTtVisualCoin().hashCode());
        result = prime * result + ((getAge() == null) ? 0 : getAge().hashCode());
        result = prime * result + ((getJob() == null) ? 0 : getJob().hashCode());
        result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
        result = prime * result + ((getJobText() == null) ? 0 : getJobText().hashCode());
        result = prime * result + ((getAddrIdStr() == null) ? 0 : getAddrIdStr().hashCode());
        result = prime * result + ((getImgPath() == null) ? 0 : getImgPath().hashCode());
        result = prime * result + ((getAppUseraddr() == null) ? 0 : getAppUseraddr().hashCode());
        result = prime * result + ((getCustomerName() == null) ? 0 : getCustomerName().hashCode());
        result = prime * result + ((getDepartment() == null) ? 0 : getDepartment().hashCode());
        return result;
    }
}